<script language="Javascript" type="text/javascript">
// initialisation
    editAreaLoader.init({
        id: "phpEditor", // id of the textarea to transform	
        start_highlight: true,
        font_size: "8",
        font_family: "verdana, monospace",
        allow_resize: "no",
        allow_toggle: false,
        language: "de",
        syntax: "html",
        toolbar: "undo, redo, |,charmap, |, search, go_to_line, |, undo, redo, |, select_font",
        plugins: "charmap",
        charmap_default: "arrows",
        syntax_selection_allow: "css,html,js,php,python,vb,xml,c,cpp,sql,basic,pas,brainfuck"
    });
    function createTemplate(layoutName) {

        if (layoutName) { 
            var form = document.createElement("form");
            form.setAttribute("method", "POST");
            form.setAttribute("action", "template");
            form.innerHTML = "<input type='hidden' name='layoutName' value='" + layoutName + "' />";
            form.submit();
        } else {
            return FALSE;
        }
    }
</script>

<div id="columnLeft">
    <ul>
        <?php echo $this->folders?>
    </ul>
    
</div>
<iframe src="<?php echo $this->layout?>" name="viewer" id="viewer" marginheight="0" marginwidth="0"></iframe>